<template>
	<view class="wrap">
		<custom-nav-sq-xcx :isBack="true" :needConBlock="true" conCol="#000" currMod="sqMineMod">
			<template v-slot:content>我的帖子</template> 
		</custom-nav-sq-xcx>
		<sq-order-tab
			currMod="feedBack"
			:orderStaArr="orderStaArr"
			:orderStaIndex="orderStaIndex"
			@swithOrderTab="swithOrderTab"
		></sq-order-tab>
		<view class="padd">
			<!-- <sq-bbs-list></sq-bbs-list> -->
			<no-data-sq></no-data-sq>
		</view>
	</view>
</template>

<script>
	import SqOrderTab from '../components/SqOrderTab'
	import SqBbsList from '../../subSqIndex/sqBbs/components/SqBbbsList'
	import NoDataSq from '@/components/no-data-sq'
	export default {
		components:{
			SqOrderTab,
			SqBbsList,
			NoDataSq
		},
		data(){
			return{
				orderStaArr:[
					{id:1,name:'我发布的'},
					{id:2,name:'我收藏的'},
				],
				orderStaIndex:0,
				typeId:1
			}
		},
		methods:{
			swithOrderTab(index,item){
				this.orderStaIndex = index;
			}
		}
	}
</script>

<style lang="scss">
	page{background: $sq-fuf;}
</style>
<style lang="scss" scoped>
	.wrap{
		padding:100rpx 0 1rpx;
	}
</style>